package com.dong.auth.filter;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

import javax.servlet.*;
import java.io.IOException;

/**
 *
 * 注销登录请求的处理filter
 *
 * @author zhaodongchao
 * @date 2021/10/13 20:41
 * @version V1.0
 */
@Component
public class LogoutFilter implements Filter {
    private final Logger logger = LoggerFactory.getLogger(getClass());
    @Override
    public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
        logger.info("开始执行注销登录过滤器啦！");
        chain.doFilter(request,response);
    }
}
